<template>
  <inline-Modal
    :visible="visible"
    title="查看"
    :showOk="false"
    @ok="handelOk()"
    @cancel="handelCancel()"
  >
  </inline-Modal>
</template>

<script>
export default {
  props: {
    visible: {
      type: Boolean,
      required: true,
    },
    soucre: {
      type: Object,
      default: () => {
        return {};
      },
    },
  },
  watch: {
    visible: {
      handler(val) {
        if (val) {
        }
      },
      immediate: true,
    },
  },
  methods: {
    handelOk() {
      this.$emit("ok");
    },
    handelCancel() {
      this.$emit("cancel");
    },
  },
};
</script>

<style lang="scss" scoped></style>
